import os
base_path = os.path.abspath(os.path.dirname(__file__))
settings = {
    'static_path':os.path.join(base_path,'forum/static'),
    'static_url_prefix':'/static/',
    'debug':True
}

mysql = {
    'database':'forum',
    #'host':'127.0.0.1',
    'host':'localhost',
    'port':3306,
    'user':'root',
    'password':'root'
}
  
redis = {
    'host': 'localhost',
    'port': 6379,
    'db': 0
}

email = {
    'uname':'2798156978@qq.com',
    'pwd':'axjlnoyepyaqdhdg'
}

secret = 'saddasdasfwqf'

jwt_exp = 7*24*3600